package com.ysd.lis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.SysBasDict;
import com.ysd.lis.entity.SysBasDictDetail;
import com.ysd.lis.request.CommonPageDto;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 * cold_chain.t_user 服务类
 * </p>
 *
 * @author peng
 * @since 2021-10-08
 */
public interface SysBasDictDetailService extends IService<SysBasDictDetail> {
    Result findDictDetailList(CommonPageDto pageParam);

    Result addBatchDetail(SysBasDict dict);

    Result editBatchDetail(SysBasDict dict);

    Result deleteBatchDetail(SysBasDictDetail detail);

    Result findDictDetailListByDictCodes(CommonPageDto pageParam);
    Result getSysBasDictList(String code);
    Result getSysBasDictListByOrgId(String code,String orgId);

    Result saveOrUpdateDetail(SysBasDict dict);

    String getValueByCodeAndKay(String code,String kay);

    String findDictDetails(String code);
    Result uploadDetailByExcel(MultipartFile file, HttpServletRequest request) throws Exception;
}
